<!DOCTYPE html>
<html lang="en">

<head>
  <meta charset="UTF-8">
  <meta http-equiv="X-UA-Compatible" content="IE=edge">
  <meta name="viewport" content="width=device-width, initial-scale=1.0">
  <title>Document</title>
  <style>
    * {
      margin: 0;
      padding: 0;
    }

    .my-radio {
      display: flex;
      align-items: center;
    }

    .my-radio input {
      display: none;
    }

    .my-radio i {
      display: inline-block;
      position: relative;
      margin-right: 10px;
      width: 30px;
      height: 30px;
      border: 2px solid purple;
      border-radius: 50%;
    }

    .my-radio i::after {
      position: absolute;
      content: '';
      top: 50%;
      left: 50%;
      width: 60%;
      height: 60%;
      background-color: purple;
      border-radius: 50%;
      transform: translate(-50%, -50%) scale(0);
      transition: .2s ease-in;
      opacity: 0;
    }

    .my-radio input:checked+i::after {
      transform: translate(-50%, -50%) scale(1);
      opacity: 1;
    }
  </style>
</head>

<body>
  <label class="my-radio">
    <input type="radio" value="1" name="color"><i></i>红色
  </label>
  <label class="my-radio">
    <input type="radio" value="12" name="color"><i></i>字数
  </label>
  <label class="my-radio">
    <input type="radio" value="13" name="color"><i></i>比色
  </label>
</body>

</html>